define(['common/js/service/boss-common-service-0.1'],
    function() {
        serviceModule.factory("BossBulletinService", function ($window, $http, $q, CommonRestService) {
            return {
                list: function (params) {
                    console.log(params);
                    return CommonRestService.query("/common/bulletin/listbypager", params);
                },
                getBulletinInfo: function (params) {
                    console.log(params);
                    return CommonRestService.query("/common/bulletin/bulletininfo", params);
                },
                updateBulletinConfirm:function(params){
                    console.log(params);
                    return CommonRestService.query("/common/bulletin/updateBulletinConfirm", params);
                },
                getUserlist: function(params){
                    console.log(params);
                    return CommonRestService.query("/common/pms/getUserlist", params);
                },
                getConfirmState: function(){
                    return CommonRestService.query("/common/bulletin/getBulletinConfirmStates");
                }
            };
        });
    });